package tgc.edu.demo.jkxt.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.demo.jkxt.custom.BaseService;
import tgc.edu.demo.jkxt.entity.Question;
import tgc.edu.demo.jkxt.entity.TiKu;
import tgc.edu.demo.jkxt.repository.TiKuRepository;

@Service
public class TiKuService extends BaseService<TiKu, Integer>{
	@Autowired
	private TiKuRepository tikuDAO;
	
	public List<Integer> findTiMuByTikuId(Integer tikuId) {
		// TODO Auto-generated method stub
		return tikuDAO.findTiMuByTikuId(tikuId);
	}

}
